<div class="navbar navbar-inverse navbar-fixed-top">
    <div class="navbar-header">
        <a class="navbar-brand" href="${base}/main" style="padding: 0 15px"><img style="height: 36px" src="${base}/images/logo_light.png" alt=""></a>

        <ul class="nav navbar-nav visible-xs-block">
            <li><a data-toggle="collapse" data-target="#navbar-mobile"><i class="icon-tree5"></i></a></li>
            <li><a class="sidebar-mobile-main-toggle"><i class="icon-paragraph-justify3"></i></a></li>
        </ul>
    </div>

    <div class="navbar-collapse collapse" id="navbar-mobile">
        <ul class="nav navbar-nav"  ${springMacroRequestContext.getRequestUri()?contains('/main')?string('style="display: none"','')}>
            <li><a class="sidebar-control sidebar-main-toggle hidden-xs"><i class="icon-paragraph-justify3"></i></a></li>
        </ul>
        <ul class="nav navbar-nav">
        </ul>

        <ul class="nav navbar-nav navbar-right">
            <li class="dropdown dropdown-user">
                <a class="dropdown-toggle" data-toggle="dropdown">
                    <img src="${base}/images/placeholder.jpg" alt="">
                    <span>${Session.userinfo.opername}</span>
                    <i class="caret"></i>
                </a>

                <ul class="dropdown-menu dropdown-menu-right">
                    <li><a href="javascript:void(0)" onclick="editPasswd()"><i class="icon-key"></i>修改密码</a></li>
                    <li class="divider"></li>
                    <li><a href="javascript:void(0)" onclick="logout();"><i class="icon-switch2"></i>安全退出</a></li>
                </ul>
            </li>
        </ul>
    </div>
</div>